package com.tarena.baking.pojo.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class UserParam {

    @NotBlank(message = "用户名不允许为空")
    private String userName;

    @NotBlank(message = "昵称不允许为空")
    private String nickName;

    @NotBlank(message = "密码不允许为空")
    private String password;

    private String imgUrl;
}